package com.gdou.crrp.repository;

import com.gdou.crrp.entity.Hospital;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HospitalRepository extends JpaRepository<Hospital, Integer> {

    List<Hospital> findByNameLike(String name);

    Hospital findByName(String name);

}
